<?php
class Topic extends Eloquent {

    public function pictures() {
        return $this->belongsToMany('Picture', 'topic_pictures', 'picture_id', 'topic_id');
    }
}
